/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.yami.shop.groupbuy.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 拼团团队表
 *
 * @author LGH
 * @date 2019-08-27 17:55:57
 */
@Data
@TableName("tz_group_team")
public class GroupTeam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("拼团团队id")
    @TableId
    private Long groupTeamId;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("拼团活动id")
    private Long groupActivityId;

    @ApiModelProperty("商品Id")
    private Long prodId;

    @ApiModelProperty("已参团人数")
    private Integer joinNum;

    @ApiModelProperty("拼团状态(0:待成团，1:拼团中，2:拼团成功，3:拼团失败)")
    private Integer status;

    @ApiModelProperty("团队订单总额")
    private Double totalPrice;

    @ApiModelProperty("开始时间（团长支付成功时间）")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("团长user_Id")
    private String shareUserId;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("是否模拟参团（1:模拟参团、0:不模拟）")
    @TableField(exist = false)
    private Integer hasRobot;

    @ApiModelProperty("是否模拟参团（1:模拟参团、0:不模拟）")
    @TableField(exist = false)
    private Integer groupNumber;
}
